3.8.49 \(\int \frac {(12-3 e^2 x^2)^{3/2}}{(2+e x)^{9/2}} \, dx\)

Optimal. Leaf size=86 \[ -\frac {3 \sqrt {3} (2-e x)^{3/2}}{2 e (e x+2)^2}+\frac {9 \sqrt {3} \sqrt {2-e x}}{4 e (e x+2)}-\frac {9 \sqrt {3} \tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{8 e} \]

________________________________________________________________________________________

Rubi [A]  time = 0.03, antiderivative size = 86, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {627, 47, 63, 206} \begin {gather*} -\frac {3 \sqrt {3} (2-e x)^{3/2}}{2 e (e x+2)^2}+\frac {9 \sqrt {3} \sqrt {2-e x}}{4 e (e x+2)}-\frac {9 \sqrt {3} \tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{8 e} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(12 - 3*e^2*x^2)^(3/2)/(2 + e*x)^(9/2),x]

[Out]

(-3*Sqrt[3]*(2 - e*x)^(3/2))/(2*e*(2 + e*x)^2) + (9*Sqrt[3]*Sqrt[2 - e*x])/(4*e*(2 + e*x)) - (9*Sqrt[3]*ArcTan
h[Sqrt[2 - e*x]/2])/(8*e)

Rule 47

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> Simp[((a + b*x)^(m + 1)*(c + d*x)^n)/(b*
(m + 1)), x] - Dist[(d*n)/(b*(m + 1)), Int[(a + b*x)^(m + 1)*(c + d*x)^(n - 1), x], x] /; FreeQ[{a, b, c, d},
x] && NeQ[b*c - a*d, 0] && GtQ[n, 0] && LtQ[m, -1] &&  !(IntegerQ[n] &&  !IntegerQ[m]) &&  !(ILeQ[m + n + 2, 0
] && (FractionQ[m] || GeQ[2*n + m + 1, 0])) && IntLinearQ[a, b, c, d, m, n, x]

Rule 63

Int[((a_.) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_), x_Symbol] :> With[{p = Denominator[m]}, Dist[p/b, Sub
st[Int[x^(p*(m + 1) - 1)*(c - (a*d)/b + (d*x^p)/b)^n, x], x, (a + b*x)^(1/p)], x]] /; FreeQ[{a, b, c, d}, x] &
& NeQ[b*c - a*d, 0] && LtQ[-1, m, 0] && LeQ[-1, n, 0] && LeQ[Denominator[n], Denominator[m]] && IntLinearQ[a,
b, c, d, m, n, x]

Rule 206

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1*ArcTanh[(Rt[-b, 2]*x)/Rt[a, 2]])/(Rt[a, 2]*Rt[-b, 2]), x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 627

Int[((d_) + (e_.)*(x_))^(m_.)*((a_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Int[(d + e*x)^(m + p)*(a/d + (c*x)/e)^
p, x] /; FreeQ[{a, c, d, e, m, p}, x] && EqQ[c*d^2 + a*e^2, 0] && (IntegerQ[p] || (GtQ[a, 0] && GtQ[d, 0] && I
ntegerQ[m + p]))

Rubi steps

\begin {align*} \int \frac {\left (12-3 e^2 x^2\right )^{3/2}}{(2+e x)^{9/2}} \, dx &=\int \frac {(6-3 e x)^{3/2}}{(2+e x)^3} \, dx\\ &=-\frac {3 \sqrt {3} (2-e x)^{3/2}}{2 e (2+e x)^2}-\frac {9}{4} \int \frac {\sqrt {6-3 e x}}{(2+e x)^2} \, dx\\ &=-\frac {3 \sqrt {3} (2-e x)^{3/2}}{2 e (2+e x)^2}+\frac {9 \sqrt {3} \sqrt {2-e x}}{4 e (2+e x)}+\frac {27}{8} \int \frac {1}{\sqrt {6-3 e x} (2+e x)} \, dx\\ &=-\frac {3 \sqrt {3} (2-e x)^{3/2}}{2 e (2+e x)^2}+\frac {9 \sqrt {3} \sqrt {2-e x}}{4 e (2+e x)}-\frac {9 \operatorname {Subst}\left (\int \frac {1}{4-\frac {x^2}{3}} \, dx,x,\sqrt {6-3 e x}\right )}{4 e}\\ &=-\frac {3 \sqrt {3} (2-e x)^{3/2}}{2 e (2+e x)^2}+\frac {9 \sqrt {3} \sqrt {2-e x}}{4 e (2+e x)}-\frac {9 \sqrt {3} \tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )}{8 e}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.13, size = 88, normalized size = 1.02 \begin {gather*} \frac {3 \sqrt {12-3 e^2 x^2} \left (2 \left (5 e^2 x^2-8 e x-4\right )+3 \sqrt {2-e x} (e x+2)^2 \tanh ^{-1}\left (\frac {1}{2} \sqrt {2-e x}\right )\right )}{8 e (e x-2) (e x+2)^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(12 - 3*e^2*x^2)^(3/2)/(2 + e*x)^(9/2),x]

[Out]

(3*Sqrt[12 - 3*e^2*x^2]*(2*(-4 - 8*e*x + 5*e^2*x^2) + 3*Sqrt[2 - e*x]*(2 + e*x)^2*ArcTanh[Sqrt[2 - e*x]/2]))/(
8*e*(-2 + e*x)*(2 + e*x)^(5/2))

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.41, size = 97, normalized size = 1.13 \begin {gather*} \frac {3 \sqrt {3} (5 (e x+2)-8) \sqrt {4 (e x+2)-(e x+2)^2}}{4 e (e x+2)^{5/2}}-\frac {9 \sqrt {3} \tanh ^{-1}\left (\frac {2 \sqrt {e x+2}}{\sqrt {4 (e x+2)-(e x+2)^2}}\right )}{8 e} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[(12 - 3*e^2*x^2)^(3/2)/(2 + e*x)^(9/2),x]

[Out]

(3*Sqrt[3]*(-8 + 5*(2 + e*x))*Sqrt[4*(2 + e*x) - (2 + e*x)^2])/(4*e*(2 + e*x)^(5/2)) - (9*Sqrt[3]*ArcTanh[(2*S
qrt[2 + e*x])/Sqrt[4*(2 + e*x) - (2 + e*x)^2]])/(8*e)

________________________________________________________________________________________

fricas [B]  time = 0.41, size = 139, normalized size = 1.62 \begin {gather*} \frac {3 \, {\left (3 \, \sqrt {3} {\left (e^{3} x^{3} + 6 \, e^{2} x^{2} + 12 \, e x + 8\right )} \log \left (-\frac {3 \, e^{2} x^{2} - 12 \, e x + 4 \, \sqrt {3} \sqrt {-3 \, e^{2} x^{2} + 12} \sqrt {e x + 2} - 36}{e^{2} x^{2} + 4 \, e x + 4}\right ) + 4 \, \sqrt {-3 \, e^{2} x^{2} + 12} {\left (5 \, e x + 2\right )} \sqrt {e x + 2}\right )}}{16 \, {\left (e^{4} x^{3} + 6 \, e^{3} x^{2} + 12 \, e^{2} x + 8 \, e\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-3*e^2*x^2+12)^(3/2)/(e*x+2)^(9/2),x, algorithm="fricas")

[Out]

3/16*(3*sqrt(3)*(e^3*x^3 + 6*e^2*x^2 + 12*e*x + 8)*log(-(3*e^2*x^2 - 12*e*x + 4*sqrt(3)*sqrt(-3*e^2*x^2 + 12)*
sqrt(e*x + 2) - 36)/(e^2*x^2 + 4*e*x + 4)) + 4*sqrt(-3*e^2*x^2 + 12)*(5*e*x + 2)*sqrt(e*x + 2))/(e^4*x^3 + 6*e
^3*x^2 + 12*e^2*x + 8*e)

________________________________________________________________________________________

giac [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-3*e^2*x^2+12)^(3/2)/(e*x+2)^(9/2),x, algorithm="giac")

[Out]

Exception raised: RuntimeError >> An error occurred running a Giac command:INPUT:sage2OUTPUT:Warning, integrat
ion of abs or sign assumes constant sign by intervals (correct if the argument is real):Check [abs(-x*exp(1)^2
-2*exp(1))]Evaluation time: 59.24Unable to transpose Error: Bad Argument Value

________________________________________________________________________________________

maple [A]  time = 0.07, size = 126, normalized size = 1.47 \begin {gather*} -\frac {3 \sqrt {-e^{2} x^{2}+4}\, \left (3 \sqrt {3}\, e^{2} x^{2} \arctanh \left (\frac {\sqrt {3}\, \sqrt {-3 e x +6}}{6}\right )+12 \sqrt {3}\, e x \arctanh \left (\frac {\sqrt {3}\, \sqrt {-3 e x +6}}{6}\right )-10 \sqrt {-3 e x +6}\, e x +12 \sqrt {3}\, \arctanh \left (\frac {\sqrt {3}\, \sqrt {-3 e x +6}}{6}\right )-4 \sqrt {-3 e x +6}\right ) \sqrt {3}}{8 \sqrt {\left (e x +2\right )^{5}}\, \sqrt {-3 e x +6}\, e} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((-3*e^2*x^2+12)^(3/2)/(e*x+2)^(9/2),x)

[Out]

-3/8*(-e^2*x^2+4)^(1/2)*(3*3^(1/2)*arctanh(1/6*3^(1/2)*(-3*e*x+6)^(1/2))*x^2*e^2+12*arctanh(1/6*3^(1/2)*(-3*e*
x+6)^(1/2))*3^(1/2)*x*e-10*(-3*e*x+6)^(1/2)*e*x+12*3^(1/2)*arctanh(1/6*3^(1/2)*(-3*e*x+6)^(1/2))-4*(-3*e*x+6)^
(1/2))*3^(1/2)/((e*x+2)^5)^(1/2)/(-3*e*x+6)^(1/2)/e

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (-3 \, e^{2} x^{2} + 12\right )}^{\frac {3}{2}}}{{\left (e x + 2\right )}^{\frac {9}{2}}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-3*e^2*x^2+12)^(3/2)/(e*x+2)^(9/2),x, algorithm="maxima")

[Out]

integrate((-3*e^2*x^2 + 12)^(3/2)/(e*x + 2)^(9/2), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {{\left (12-3\,e^2\,x^2\right )}^{3/2}}{{\left (e\,x+2\right )}^{9/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((12 - 3*e^2*x^2)^(3/2)/(e*x + 2)^(9/2),x)

[Out]

int((12 - 3*e^2*x^2)^(3/2)/(e*x + 2)^(9/2), x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((-3*e**2*x**2+12)**(3/2)/(e*x+2)**(9/2),x)

[Out]

Timed out

________________________________________________________________________________________